package com.linsir.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties(prefix = "system")
@PropertySource(value = "classpath:application.yml")
public class SystemConfig {

    private String name;
    private String logo;
    private String keywords;
    private String description;
    private String casheTime; //分钟
    private String maxUpdata; //最大上传单位kb
    private String title;
    private String copyright;
    private String indexPageName;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCasheTime() {
        return casheTime;
    }

    public void setCasheTime(String casheTime) {
        this.casheTime = casheTime;
    }

    public String getMaxUpdata() {
        return maxUpdata;
    }

    public void setMaxUpdata(String maxUpdata) {
        this.maxUpdata = maxUpdata;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public String getIndexPageName() {
        return indexPageName;
    }

    public void setIndexPageName(String indexPageName) {
        this.indexPageName = indexPageName;
    }
}

